<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>

<!-- http://zhaoweiserver.sinaapp.com?code=02a9bed29b2185a9f0ed3a48fe56e700&state=1 -->
<%
	//HttpSession httpSession = request.getSession();
	//httpSession.getAttribute("openId");

	String code = request.getParameter("code");//这里获得到了code,再使用code获取OpenID
	//https://api.weixin.qq.com/sns/oauth2/access_token?appid=自己写&secret=自己写&code=上面code&grant_type=authorization_code;
	//再使用全局ACCESS_TOKEN获取OpenID的详细信息
	//https://api.weixin.qq.com/cgi-bin/user/info?access_token=ACCESS_TOKEN&openid=OPENID
	String state = request.getParameter("state");
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Access-Control-Allow-Origin" content="*">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<!--media="(device-height: 568px)" -->
<title>江户前日本料理预约</title>
<script src="../js/jquery-1.3.2.js" type="text/javascript"></script>

<script type="text/javascript">
	document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
		WeixinJSBridge.call('hideToolbar');
	});
</script>




<link rel="stylesheet" type="text/css" href="../css/base.css">
<link rel="stylesheet" type="text/css" href="../css/reservation.css">
</head>
<body>
	<div class="main">
		<div class="header">
			<p class="h1">您好,江户前欢迎您!</p>
			<p class="h2" id="h_title">请填写预约信息</p>
		</div>
		<div class="content">
			<div class="wrap">
				<table width="100%" height="50%" border="0" cellpadding="0"
					cellspacing="0">
					<tr style="height: 100%">
						<td width="20%"><span
							style="font-size: 1.0em; color: #999999; font-weight: 600;">联系人:</span>
						</td>
						<td width="80%"><input type="text" width="100%" height="50%"
							id="txt_user"></td>
					</tr>
				</table>
				<div class="hr"></div>
				<table width="100%" height="50%" border="0" cellpadding="0"
					cellspacing="0">
					<tr style="height: 100%">
						<td width="20%"><span
							style="font-size: 1.0em; color: #999999; font-weight: 600;">手机号:</span>
						</td>
						<td width="80%"><input type="text" id="txt_phone"></td>
					</tr>
				</table>
			</div>
		</div>
		<div class="content" style="margin-top: 10px">
			<div class="wrap">
				<table width="100%" height="50%" border="0" cellpadding="0"
					cellspacing="0">
					<tr style="height: 100%">
						<td width="20%"><span
							style="font-size: 1.0em; color: #999999; font-weight: 600;">人数:</span>
						</td>
						<td width="80%"><input type="text" id="txt_customer"></td>
					</tr>
				</table>
				<div class="hr"></div>
				<table width="100%" height="50%" border="0" cellpadding="0"
					cellspacing="0">
					<tr style="height: 100%">
						<td width="20%"><span
							style="font-size: 1.0em; color: #999999; font-weight: 600;">时间:</span>
						</td>
						<td width="80%"><input type="text" id="txt_time"></td>
					</tr>
				</table>
				<div class="hr"></div>
				<table width="100%" height="50%" border="0" cellpadding="0"
					cellspacing="0">
					<tr style="height: 100%">
						<td width="20%"><span
							style="font-size: 1.0em; color: #999999; font-weight: 600;">备注:</span>
						</td>
						<td width="80%"><input type="text" id="txt_memo"></td>
					</tr>
				</table>
			</div>
		</div>
		<div class="footer">
			<a class="btn-gray" id="btn_call">马上预约</a>
		</div>
	</div>
</body>
<script type="text/javascript" src="reservation.js"></script>
</html>